
function getUrl(){
    var arr = [];
    for(var i=1 ; i<=2 ; i++){
        arr.push(document.getElementById('url'+i).value);
    }
    var arg = Math.round(Math.random());
    return arr[arg];
}



seajs.config({
    // 基础路径
    base: getUrl()+'/campus/festatic.chinahr.com/js/',
    // 路径配置
    paths: {
        'common': 'common',
        'm': 'm',
        'pc':'pc',
        'backen':'backen'
    },
    // 别名配置
    /*alias: {
     'jquery': getUrl()+'/campus/festatic.chinahr.com/js/common/jquery-1.11.1',
     'zepto' : getUrl()+'/campus/festatic.chinahr.com/js/common/zepto.min',
     "forwordSecond": getUrl()+'/campus/festatic.chinahr.com/js/pc/forwordSecond.js',
     "Jobs": getUrl()+'/campus/festatic.chinahr.com/js/pc/Jobs.js',
     "jqueryCookie": getUrl()+'/campus/festatic.chinahr.com/js/common/jquery.cookie.js',
     "DataCheck": getUrl()+"/campus/festatic.chinahr.com/js/pc/DataCheck.js",
     "tici": getUrl()+"/campus/festatic.chinahr.com/js/pc/tici.js",
     "VerificationCode": getUrl()+"/campus/festatic.chinahr.com/js/pc/VerificationCode.js",
     "EventFlow": getUrl()+"/campus/festatic.chinahr.com/js/pc/EventFlow.js",
     "laydate": getUrl()+"/campus/festatic.chinahr.com/js/common/laydate.js",
     "quickLoginFirst": getUrl()+"/campus/festatic.chinahr.com/js/pc/quickLoginFirst.js",
     "normolControler": getUrl()+"/campus/festatic.chinahr.com/js/pc/normolControler.js",
     "quickLoginSecond": getUrl()+"/campus/festatic.chinahr.com/js/pc/quickLoginSecond.js",
     "fastRasume": getUrl()+"/campus/festatic.chinahr.com/js/pc/fastRasume.js",
     "db_citys": getUrl()+"/campus/festatic.chinahr.com/js/pc/db_citys.js",
     "db_dictionary": getUrl()+"/campus/festatic.chinahr.com/js/pc/db_dictionary.js",
     "db_industrys": getUrl()+"/campus/festatic.chinahr.com/js/pc/db_industrys.js",
     "page": getUrl()+"/campus/festatic.chinahr.com/js/pc/page.js",
     "Utility": getUrl()+"/campus/festatic.chinahr.com/js/pc/Utility.js",
     "search": getUrl()+"/campus/festatic.chinahr.com/js/pc/search.js",
     "Banners":getUrl()+"/campus/festatic.chinahr.com/js/pc/Banners.js",
     "Query":getUrl()+"/campus/festatic.chinahr.com/js/pc/Query.js",
     "HotJobs": getUrl()+"/campus/festatic.chinahr.com/js/pc/HotJobs.js",
     "screenHead": getUrl()+"/campus/festatic.chinahr.com/js/pc/screenHead.js",
     "HomeHotData":getUrl()+"/campus/festatic.chinahr.com/js/pc/HomeHotData.js"
     },*/
    alias: {
        'jquery': 'common/jquery-1.11.1',
        'zepto':'common/zepto.min',
        "forwordSecond": "pc/forwordSecond.js",
        "Jobs": "pc/Jobs.js",
        "jqueryCookie": "common/jquery.cookie.js",
        "DataCheck": "pc/DataCheck.js",
        "tici": "pc/tici.js",
        "VerificationCode": "pc/VerificationCode.js",
        "EventFlow": "pc/EventFlow.js",
        "laydate": "common/laydate.js",
        "quickLoginFirst": "pc/quickLoginFirst.js",
        "normolControler": "pc/normolControler.js",
        "quickLoginSecond": "pc/quickLoginSecond.js",
        "fastRasume": "pc/fastRasume.js",
        "db_citys": "pc/db_citys.js",
        "db_dictionary": "pc/db_dictionary.js",
        "db_industrys": "pc/db_industrys.js",
        "page": "pc/page.js",
        "Utility": "pc/Utility.js",
        "search": "pc/search.js",
        "Banners":"pc/Banners.js",
        "Query":"pc/Query.js",
        "HotJobs": "pc/HotJobs.js",
        "screenHead": "pc/screenHead.js",
        "HomeHotData":"pc/HomeHotData.js"
    },
    //预先加载
    /*preload: [
     'm/co',
     ],*/
    preload: [
        Function.prototype.bind ? '' : 'db_citys',
        this.JSON ? '' : 'db_dictionary',
        this.JSON ? '' : 'db_industrys'
    ],

    //map,批量更新时间戳
    // map: [[/^(.*\.(?:css|js))(.*)$/i, '$1?v=20151123']],
    // 文件编码
    charset: 'utf-8',
    //调试时候用
    debug:false
});


